package com.example.villagedevelop.generator.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class HomeStay implements Serializable {
    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String owner;
    private String phone;
    private String basic;
    private String kitchen;
    private String room;
    private Double area;
    private String price;
    private String bath;
    private String warmth;
    private String struct;
    private String type;
    private int defaultSort;
    private String town;
    private String village;
    private String title;
}
